package com.cynteka.cyfoman.ui;

import com.cynteka.cyfoman.core.ValueObject;
import com.cynteka.cyfoman.core.config.ActionMD;

/**
 * User: Sergey
 * Date: 03.08.11
 * Time: 13:44
 */
public class StoreEvent extends UIEvent {

    public ValueObject getValueObject() {
        return valueObject;
    }

    public void setValueObject(ValueObject valueObject) {
        this.valueObject = valueObject;
    }

    public ActionMD getAction() {
        return action;
    }

    public void setAction(ActionMD action) {
        this.action = action;
    }

    private ValueObject valueObject;
    private ActionMD action;

    public StoreEvent(ValueObject valueObject, ActionMD action) {
        super(STORE);
        this.valueObject = valueObject;
        this.action = action;
    }


}
